#pragma once
#include <iostream>
#include <fstream>

#include "CAbstract.h"

class CPlay : public CAbstract
{
public:
    static Threads::ThreadObject *instance(void*);
    static CDynamicClass* CreateObject(void*);
    CPlay();
    int exec();
private:    
    static CPlay* m_instance;    
    class CGarbo {public: ~CGarbo(){if (CPlay::m_instance) delete CPlay::m_instance;}};
    static CGarbo Garbo;

};
